<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<script src="../../../../scripts/jquery.js" type="text/javascript"></script>
	<link  href="../../../../themes/default/ui.css" type="text/css" rel="stylesheet" />
	
	<!-- 换肤 -->
	<script type="text/javascript" src="../../../theme_cookie.js"></script>
	
	<script src="../ui.inputpro.js" type="text/javascript"></script>
	<link  href="../ui.inputpro.css" rel="stylesheet" type="text/css" />
	
	<!-- 控件无关JS、CSS -->
	<link  href="../../../../themes/common/icon.css" type="text/css" rel="stylesheet" />
	<link type="text/css" href="../../../demos.css" rel="stylesheet" />

	<script type="text/javascript">
		$( function(){
			//初始化文本框只能输入数字
			$('.numberbox').input().numberBox({
				max:100,  	//最大值
				min:10,  	//最小值
				precision:1	//小数位数
			});
		} ) ;
	</script>
</head>

<body>
	<div>
		<h2></h2>
		
		<div class='demo-block'>
			<div class='label'>文本框：</div> 
			<input type='text' class='numberbox'/> (请输入数字，最大值:100,最小值:10，小数位：1)
		</div>
	</div>
	
	<div class="demo-source">
	</div>
</body>
</html>